home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000139_fdc@columbia.edu_Sat Mar 13 13:29:34 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: MSDOS KERMIT & unbuffered disk write (session log)
  5. Date: 13 Mar 2004 18:21:17 GMT
  6. Organization: Columbia University
  7. Lines: 28
  8. Message-ID: <slrnc56k8t.lb4.fdc@sesame.cc.columbia.edu>
  9. References: <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1079202077 7233 128.59.59.56 (13 Mar 2004 18:21:17 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 13 Mar 2004 18:21:17 GMT
  15. User-Agent: slrn/0.9.7.4 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14849
  17.  
  18. In article <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>,
  19. Henrique Seganfredo wrote:
  20. : I am trying to use MS DOS KERMIT on an old computer to receive call reports
  21. : data from a PABX. But I noticed that if there is a power shortage and the
  22. : computer resets or shuts down, the current data (visible on the screen) sent
  23. : by the PABX is not recorded to disk, I can only see in the file the data
  24. : stored from tha last time I exited Kermit correctly (Alt-X, exit). Is there
  25. : any way to force the writing periodically or every time data comes in?
  26. In MS-DOS Kermit you would need to do something like this:
  27.  
  28.   log session filename
  29.   while true {
  30.       input 600 string_that_will_never_come
  31.       close session
  32.       log session filename append
  33.   }
  34.  
  35. But no guarantees.  "600" is the number of seconds.  That means you can
  36. lose anything that arrived in the last 600-second interval.  You can use
  37. any other number you want.  Of course you also need some method to 
  38. terminate the loop.
  39.  
  40. If there is some way to identify the end of a transmission from the PBX,
  41. you can use that for your INPUT target.
  42.  
  43. - Frank
  44.